package com.kingmed.kmss.framework.feign.client.kmcs;


import com.kingmed.kmss.common.dto.kmcs.*;
import com.kingmed.kmss.common.exception.external.ExternalApiException;
import feign.Response;
import org.springframework.stereotype.Component;


@Component
public class MsFeignFallbackService implements MsFeignService {


    @Override
    public Response getKMProd(KmcsQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response itemPrice(KmcsPriceQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response kmcsMp(KmcsMpQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response kmcsMpList(KmcsMpQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response kmcsMpProd(KmcsMpProdQueryDTO queryDTO) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response chargingStandard(KmcsFeeQueryDTO reqDto) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response getMpInfoProvincePriceByMpId(KmcsFeeQueryDTO reqDto) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }

    @Override
    public Response getContractFileInfo(String fileId) {
        throw new ExternalApiException("kmss->kmcs ms调用异常");
    }
}
